package com.fan.shop.services;

import java.util.List;

import com.fan.shop.domain.Stock;

public interface StockService extends ShopService {

	public Stock getStock(String itemCode, String storeCode);

	public List<Stock> getAllStocks();

	public int getSize();

	public void addStock(Stock stock);

	public void updateStock(Stock stock);

	public void deleteStock(Stock stock);
	
	public boolean hasStock(String itemCode, String storeCode);
	
	public List<String> getColumnNames();
	
	public List<Stock> getStocksByStore(String storeCode);
	
	public void setStoreCode(String storeCode);
	public String getStoreCode();
}
